package com.example.demo.mapper;

import com.example.demo.model.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Question UsersMapper
 * @Date 2023/1/4 15:25
 * @Solution
 */
@Mapper
public interface UsersMapper {
    public int add(@Param("username") String username,@Param("password") String password);
    public User getByName(@Param("username") String username);
}
